<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />

        <!-- blueprint CSS framework -->
        <!--<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />-->
        <!--<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />-->
        <!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
        <![endif]-->

        <!--<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />-->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

        <!-- Bootstrap -->
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/bootstrap.min.css" rel="stylesheet"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/bootstrap-theme.min.css" rel="stylesheet"/>
        <link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/custom.css" rel="stylesheet"/>

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>

    <body>

        <!--<div class="container" >-->



        <div class="navbar navbar-default navbar-static-top" role="navigation">
            <div class="container">
                <div class="navbar-header">

                    <a class="navbar-brand" href="#"><?php echo CHtml::encode(Yii::app()->name); ?></a>
                </div>

                <?php
                $this->widget('zii.widgets.CMenu', array(
                    'items' => array(
                        array('label' => 'Home', 'url' => array('/site/index')),
                        array('label' => 'About', 'url' => array('/site/page', 'view' => 'about')),
						array('label' => 'News', 'url' => array('/nms/news')),
                        array('label' => 'Contact', 'url' => array('/site/contact')),
//				array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
//				array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
                    ),
                    'htmlOptions' => array(
                        'class' => 'nav navbar-nav',
                    ),
                ));
                ?>

                <?php
                $this->widget('zii.widgets.CMenu', array(
                    'items' => array(
//				array('label'=>'Home', 'url'=>array('/site/index')),
//				array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
//				array('label'=>'Contact', 'url'=>array('/site/contact')),
                        array('label' => 'Login', 'url' => array('/site/login'), 'visible' => Yii::app()->user->isGuest),
                        array('label' => 'Logout (' . Yii::app()->user->name . ')', 'url' => array('/site/logout'), 'visible' => !Yii::app()->user->isGuest)
                    ),
                    'htmlOptions' => array(
                        'class' => 'nav navbar-nav navbar-right',
                    ),
                ));
                ?>
            </div>
        </div><!-- mainmenu -->
        <div class="clear"></div>
        <div class="container">
            <?php if (isset($this->breadcrumbs)): ?>
                <?php
                $this->widget('zii.widgets.CBreadcrumbs', array(
                    'links' => $this->breadcrumbs,
                    'htmlOptions' => array(
                        'class' => 'breadcrumb',
                    ),
                ));
                ?><!-- breadcrumbs -->
<?php endif ?>

                <?php echo $content; ?>

            <div class="clear"></div>

            
        </div>
<div class="footer" id="footer">
                <div class="row text-left">
                    <div class="col-md-2">
                        <h3>Renting</h3>

Properties for Rent</br>
Open Home</br>
Rental Property Alert</br>
Tenancy Application Forms</br>
                    </div>
                    <div class="col-md-2">
                        <h3>Buying</h3>

Properties for Sale</br>
Sold Properties</br>
Open Homes</br>
Sale Property Alert</br>
                    </div>
                    <div class="col-md-2">
                        <h3>Selling</h3>

Selling your Home</br>
Request Market Appraisal</div>
                    <div class="col-md-3">
                        <h3>Latest News</h3>
                    </div>
                    <div class="col-md-3 text-left">
                    <h3>Our Address</h3>
                    <address>
                        20 Main Street, Melbourne
                        <span><strong>Phone:</strong>(200) 333 8890</span>
                        <span><strong>Fax:</strong>(200) 333 8892</span>
                        <span><strong>Email:</strong><a href="mailto:contact@example.com">contact@example.com</a></span>
                        <span><strong>Web:</strong><a href="#test">http://example.com</a></span>
                    </address>

                    <div class="social-icons">
                        <a href="#">
                            <img src="<?php echo Yii::app()->baseUrl ?>/images/facebook.png" alt=""></a>
                        <a href="#">
                            <img src="<?php echo Yii::app()->baseUrl ?>/images/twitter.png" alt=""></a>
                        <a href="#">
                            <img src="<?php echo Yii::app()->baseUrl ?>/images/dribbble.png" alt=""></a>
                        <a href="#">
                            <img src="<?php echo Yii::app()->baseUrl ?>/images/blogger.png" alt=""></a>
                        <a href="#">
                            <img src="<?php echo Yii::app()->baseUrl ?>/images/youtube.png" alt=""></a>
                        <a href="#">
                            <img src="<?php echo Yii::app()->baseUrl ?>/images/vimeo.png" alt=""></a>
                    </div>
                </div>
                    
                    
                </div>
                
                Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
                All Rights Reserved.<br/>
                <small>Powered by <a href="www.businessjot.com">Businessjot</a></small>
            </div><!-- footer -->
        <!--</div> page -->
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <!-- Include all compiled plugins (below), or include individual files as needed -->
        <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/bootstrap.min.js"></script>
    </body>
</html>
